﻿
namespace Trentacular.Office.Server.Search.FacetedSearch.Providers
{
    /// <summary>
    /// Represents a document type to be used by the
    /// <see cref="DocumentTypeFacetProvider" /> for generating document type facets.
    /// </summary>
    public class DocumentType
    {
        /// <summary>
        /// Gets or sets the facet's display name.
        /// </summary>
        /// <value>The facet's display name.</value>
        public string DisplayName { get; set; }

        /// <summary>
        /// Gets or sets the file extensions that map to this document type.
        /// </summary>
        /// <value>The file extensions that map to this document type.</value>
        public string[] FileExtensions { get; set; }

        /// <summary>
        /// Gets or sets the path to the facet's icon image.
        /// </summary>
        /// <value>The path to the facet's icon image..</value>
        public string IconPath { get; set; }
    }
}
